/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.xinxi.dms.po;

import java.util.Date;

/**
 *
 * @author zhigu
 */
public class Maintain {
    private Integer id;
    private Integer roomid;
    private String reason;
    private Date repairtime;
    private Date maintaintime;
    private String maintainreason;
    private String maintainer;
    private String buildingno;
    private String unitno;
    private String roomno;

    public Maintain() {
    }

    public Maintain(Integer id, Integer roomid, String reason, Date repairtime, Date maintaintime, String maintainreason, String maintainer, String buildingno, String unitno, String roomno) {
        this.id = id;
        this.roomid = roomid;
        this.reason = reason;
        this.repairtime = repairtime;
        this.maintaintime = maintaintime;
        this.maintainreason = maintainreason;
        this.maintainer = maintainer;
        this.buildingno = buildingno;
        this.unitno = unitno;
        this.roomno = roomno;
    }

    public Maintain(Integer roomid, String reason, Date repairtime, Date maintaintime, String maintainreason, String maintainer, String buildingno, String unitno, String roomno) {
        this.roomid = roomid;
        this.reason = reason;
        this.repairtime = repairtime;
        this.maintaintime = maintaintime;
        this.maintainreason = maintainreason;
        this.maintainer = maintainer;
        this.buildingno = buildingno;
        this.unitno = unitno;
        this.roomno = roomno;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRoomid() {
        return roomid;
    }

    public void setRoomid(Integer roomid) {
        this.roomid = roomid;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public Date getRepairtime() {
        return repairtime;
    }

    public void setRepairtime(Date repairtime) {
        this.repairtime = repairtime;
    }

    public Date getMaintaintime() {
        return maintaintime;
    }

    public void setMaintaintime(Date maintaintime) {
        this.maintaintime = maintaintime;
    }

    public String getMaintainreason() {
        return maintainreason;
    }

    public void setMaintainreason(String maintainreason) {
        this.maintainreason = maintainreason;
    }

    public String getMaintainer() {
        return maintainer;
    }

    public void setMaintainer(String maintainer) {
        this.maintainer = maintainer;
    }

    public String getBuildingno() {
        return buildingno;
    }

    public void setBuildingno(String buildingno) {
        this.buildingno = buildingno;
    }

    public String getUnitno() {
        return unitno;
    }

    public void setUnitno(String unitno) {
        this.unitno = unitno;
    }

    public String getRoomno() {
        return roomno;
    }

    public void setRoomno(String roomno) {
        this.roomno = roomno;
    }

    @Override
    public String toString() {
        return "Maintain{" + "id=" + id + ", roomid=" + roomid + ", reason=" + reason + ", repairtime=" + repairtime + ", maintaintime=" + maintaintime + ", maintainreason=" + maintainreason + ", maintainer=" + maintainer + ", buildingno=" + buildingno + ", unitno=" + unitno + ", roomno=" + roomno + '}';
    }
    

}
